//
//  LCButton.m
//  LC
//
//  Created by admin on 16/12/18.
//  Copyright © 2016年 admin. All rights reserved.
//

#import "LCButton.h"
#import "UIImage+Tint.h"

@implementation LCButton

- (void)awakeFromNib {
    [super awakeFromNib];
    
    UIImage *normalImage = [self imageForState:UIControlStateNormal];
    if(normalImage != nil) {
        [self setImage:[normalImage imageWithTintColor:[UIColor whiteColor]]  forState:UIControlStateNormal];
    }
    
    UIImage *selectedImage = [self imageForState:UIControlStateSelected];
    if(selectedImage != nil) {
        [self setImage:[selectedImage imageWithTintColor:[UIColor whiteColor]]  forState:UIControlStateSelected];
    }
    
}

@end
